<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <title>我的银行卡</title>
        <link rel="stylesheet" href="<c:url value="/static/wx/css/style.css"/>" />
        <script type="text/javascript" src="<c:url value="/static/wx/js/lib/rem.js"/>"></script>
	</head>
	
    <body class="befeff4">
        <div id="wrap">
            <c:if test="${bankcardInfoVo == null }">
                <div class="order_noData tc">
	                <img src="<c:url value="/static/wx/img/no_data.png"/>" />
	                <p>暂无银行卡</p>
	                <a class="order_btn" href="<c:url value="/wx/toBindBankCard.do"/>?id=${userId}" style="background:#50BEC5;color: #fff;height:0.4rem;line-height:0.4rem;">添加银行卡</a>
	            </div>
            </c:if>
            
            <c:if test="${bankcardInfoVo != null }">
                <div class='Data'>
                    <div class='card_wrap'>
                        <div class='card_top'>
                            <div class="bankCardName">${bankcardInfoVo.bankCardName }</div>
                            <div class="bankCardNumber">${bankcardInfoVo.bankCardNumber}</div>
                        </div>
                        <div class='bankName'>持卡人 ${bankcardInfoVo.bankName }</div>
                    </div>
                    <div class='tc f14 c666 mt20'>
                        <a href="<c:url value="/wx/toBindBankCard.do"/>?id=${userId}">更换银行卡</a>
                    </div>
                </div>
            </c:if>
        </div>
    </body>
</html>